package com.example.jpetstoreclient.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.jpetstoreclient.common.CommonResponse;
import com.example.jpetstoreclient.domain.History;

import java.util.List;

public interface HistoryService extends IService<History> {

    CommonResponse<History> addHistory(History history);

    CommonResponse<List<History>> getHistoryByUserId(int user_id);
}
